package com.messe.base.models;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * 报销单
 * BudgetPurchase entity. @author MyEclipse Persistence Tools
 */

public class BudgetExpenseRel implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2565533755354809036L;
	// Fields

	private String id;
	// 预算id
	private Budget budget;
	// 名称
	private String name;
 
	// 申请人id
	private Person person;
	// 申请金额
	private Double money;
	// 税率
	private Double cess;
	// 申请理由
	private String reason;
	// 10 增值税专用发票 20 增值税普通发票
	private Integer type;
	// 供应商
	private Organization  supplier;
	// 联系人
	private Person supplierPerson;
	// 联系电话
	private String supplierTel;
	// 联系地址
	private String supplierAddress;
	// 描述
	private String description;
	// 创建时间
	private Timestamp createdStamp;
	// 更新时间
	private Timestamp lastUpdatedStamp;
	// 创建人
	private Person createdId;
	
	//报销单
	private BudgetExpense budgetExpense;
	

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public BudgetExpense getBudgetExpense() {
		return budgetExpense;
	}
	public void setBudgetExpense(BudgetExpense budgetExpense) {
		this.budgetExpense = budgetExpense;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Budget getBudget() {
		return budget;
	}
	public void setBudget(Budget budget) {
		this.budget = budget;
	}
	public Person getPerson() {
		return person;
	}
	public void setPerson(Person person) {
		this.person = person;
	}
	public Double getMoney() {
		return money;
	}
	public void setMoney(Double money) {
		this.money = money;
	}
	public Double getCess() {
		return cess;
	}
	public void setCess(Double cess) {
		this.cess = cess;
	}
	public String getReason() {
		return reason;
	}
	public void setReason(String reason) {
		this.reason = reason;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	
	public Organization getSupplier() {
		return supplier;
	}
	public void setSupplier(Organization supplier) {
		this.supplier = supplier;
	}
	public Person getSupplierPerson() {
		return supplierPerson;
	}
	public void setSupplierPerson(Person supplierPerson) {
		this.supplierPerson = supplierPerson;
	}
	public String getSupplierTel() {
		return supplierTel;
	}
	public void setSupplierTel(String supplierTel) {
		this.supplierTel = supplierTel;
	}
	public String getSupplierAddress() {
		return supplierAddress;
	}
	public void setSupplierAddress(String supplierAddress) {
		this.supplierAddress = supplierAddress;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	
	public Timestamp getCreatedStamp() {
		return createdStamp;
	}
	public void setCreatedStamp(Timestamp createdStamp) {
		this.createdStamp = createdStamp;
	}
	public Timestamp getLastUpdatedStamp() {
		return lastUpdatedStamp;
	}
	public void setLastUpdatedStamp(Timestamp lastUpdatedStamp) {
		this.lastUpdatedStamp = lastUpdatedStamp;
	}
	public Person getCreatedId() {
		return createdId;
	}
	public void setCreatedId(Person createdId) {
		this.createdId = createdId;
	}
	
}